projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31efa7c
)
[USE_X_TOOLKIT] (xmenu_show): Pass display to XtWindowToWidget.
author
Roland McGrath
<roland@gnu.org>
Fri, 4 Mar 1994 07:52:34 +0000
(07:52 +0000)
committer
Roland McGrath
<roland@gnu.org>
Fri, 4 Mar 1994 07:52:34 +0000
(07:52 +0000)
src/xmenu.c
patch
|
blob
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index 4a82d47987a9db2503547590c6b3f81626ce3472..5258888dd4d2735d65277fe5494dacc9f27e42f7 100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-1340,9
+1340,10
@@
xmenu_show (f, x, y, menubarp, keymaps, title, error)
}
XtDispatchEvent (&event);
- if (XtWindowToWidget(event.xany.window) != menu)
+ if (XtWindowToWidget(
XDISPLAY
event.xany.window) != menu)
{
- queue_tmp = (struct event_queue *) malloc (sizeof (struct event_queue));
+ queue_tmp
+ = (struct event_queue *) malloc (sizeof (struct event_queue));
if (queue_tmp != NULL)
{